home *** CD-ROM | disk | FTP | other *** search
- /* Definitions for Intel 386 running Linux
- * Copyright (C) 1992 Free Software Foundation, Inc.
- *
- * Written by H.J. Lu (hlu@eecs.wsu.edu)
- *
- * Linux is a POSIX.1 compatible UNIX clone for i386, which uses GNU
- * stuffs as the native stuffs.
- */
-
- /* Specify predefined symbols in preprocessor. */
-
- #undef CPP_PREDEFINES
- #define CPP_PREDEFINES "-D__unix -D__unix__ -D__i386 -D__i386__ -D__linux -D__linux__ " \
- "-D__GNUC__=2 -D__GNUC_MINOR__=6 "\
- "-Dunix -Di386 -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(i386) -Amachine(i386)"
-
- #undef SIZE_TYPE
- #define SIZE_TYPE "unsigned int"
-
- #undef PTRDIFF_TYPE
- #define PTRDIFF_TYPE "int"
-
- #undef WCHAR_TYPE
- #define WCHAR_TYPE "long int"
-
- #undef WCHAR_TYPE_SIZE
- #define WCHAR_TYPE_SIZE BITS_PER_WORD
-
- /* number of bits in an addressable storage unit */
- #define BITS_PER_UNIT 8
-
- /* Width in bits of a "word", which is the contents of a machine register.
- Note that this is not necessarily the width of data type `int';
- if using 16-bit ints on a 80386, this would still be 32.
- But on a machine with 16-bit registers, this would be 16. */
- #define BITS_PER_WORD 32
-
- /* Width of a word, in units (bytes). */
- #define UNITS_PER_WORD 4
-
- /* Define results of standard character escape sequences. */
- #define TARGET_BELL 007
- #define TARGET_BS 010
- #define TARGET_TAB 011
- #define TARGET_NEWLINE 012
- #define TARGET_VT 013
- #define TARGET_FF 014
- #define TARGET_CR 015
-